#!/bin/bash
host="192.168.1.120:8081"
api="/house/add-all"
id="9e64f9d0-4b3f-11e7-98da-d5ecb0e44da4"
account="awoo"
token="123"

url="${host2}${api}"

header="'Content-type':'application/x-www-form-urlencoded', 'charset':'utf-8', 'Accept': 'text/plain'"
json_data='{"a":"aaa","b":"bbb","data":[{"c":"ccc","d":"ddd","keywords":[{"e": "eee", "f":"fff", "g":"ggg"}]}]}'
curl -i -X POST -d "json_data=${json_data}" ${url}
